<template>
    <div>
        这是用户列表页面
    </div>
    <br />
    <el-button type="primary" @click="alertBtn">打开右抽屉</el-button>

    <el-drawer v-model="drawer" title="I am the title" :with-header="false">
        <span>Hi there!</span>
    </el-drawer>
</template>


<script>

export default {
    data() {
        return {
            message: "这是啥",
            drawer: false
        };
    },
    methods: {
        alertBtn() {
            console.log("用户列表页面点击");
            this.drawer = true
        }
    }
}
</script>